package com.ruoyi.kjy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.common.mp.domain.CommonEntity;
import lombok.Data;

import java.util.List;

/**
 * @Description:
 * @Author: Hi，Wang
 * @Date: 11/10,0010 19:54
 */

@Data
public class Rooms extends CommonEntity {



    @TableId(type = IdType.AUTO)
    private Long id;

    // 房间号
    private String roomNumber;
    // 房间名字
    private String roomName;
    // 最大人数
    private Integer maxPeople;

    // 房间说明
    private String roomDescription;

    // 房间状态
    private Integer status; // 0：空闲，1：可使用



    @TableField(exist = false)
    private List<RoomReservation> roomReservations;
}
